'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up (queryInterface, Sequelize) {
    const series = [
      {
        brandId: 1,
        nameZh: '宝马X1',
        nameEn: 'BMW X1',
        descriptionZh: '宝马X1是宝马公司推出的一款紧凑型SUV，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'BMW X1 is a compact SUV from BMW, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 1,
        nameZh: '宝马X2',
        nameEn: 'BMW X2',
        descriptionZh: '宝马X2是宝马公司推出的一款紧凑型SUV，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'BMW X2 is a compact SUV from BMW, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),  
      },
      {
        brandId: 1,
        nameZh: '宝马X3',
        nameEn: 'BMW X3',
        descriptionZh: '宝马X3是宝马公司推出的一款紧凑型SUV，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'BMW X3 is a compact SUV from BMW, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 2,
        nameZh: '奔驰C级',
        nameEn: 'Mercedes-Benz C-Class',
        descriptionZh: '奔驰C级是奔驰公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Mercedes-Benz C-Class is a medium sedan from Mercedes-Benz, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 2,
        nameZh: '奔驰E级',
        nameEn: 'Mercedes-Benz E-Class',
        descriptionZh: '奔驰E级是奔驰公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Mercedes-Benz E-Class is a medium sedan from Mercedes-Benz, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 3,
        nameZh: '奥迪A4',
        nameEn: 'Audi A4',
        descriptionZh: '奥迪A4是奥迪公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Audi A4 is a medium sedan from Audi, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 3,
        nameZh: '奥迪A6',
        nameEn: 'Audi A6',
        descriptionZh: '奥迪A6是奥迪公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Audi A6 is a medium sedan from Audi, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 3,
        nameZh: '奥迪A8',
        nameEn: 'Audi A8',
        descriptionZh: '奥迪A8是奥迪公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Audi A8 is a medium sedan from Audi, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 4,
        nameZh: '大众高尔夫',
        nameEn: 'Volkswagen Golf',
        descriptionZh: '大众高尔夫是大众公司推出的一款紧凑型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Volkswagen Golf is a compact sedan from Volkswagen, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 4,
        nameZh: '大众帕萨特',
        nameEn: 'Volkswagen Passat',
        descriptionZh: '大众帕萨特是大众公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Volkswagen Passat is a medium sedan from Volkswagen, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 4,
        nameZh: '大众迈腾',
        nameEn: 'Volkswagen Magotan',
        descriptionZh: '大众迈腾是大众公司推出的一款中型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Volkswagen Magotan is a medium sedan from Volkswagen, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        brandId: 4,
        nameZh: '大众速腾',
        nameEn: 'Volkswagen Sagitar',
        descriptionZh: '大众速腾是大众公司推出的一款紧凑型轿车，以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Volkswagen Sagitar is a compact sedan from Volkswagen, known for its unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      }
    ]
    await queryInterface.bulkInsert('Series', series, {});
  },

  async down (queryInterface, Sequelize) {
    await queryInterface.bulkDelete('Series', null, {});
  }
};
